package jni;

public class JniDemo
{
    static{
        //注意这里需要在idea中设置一下参数，VM op：-Djava.library.path=D:\Users\testrczs\src\main\lib\
        //名字不需要带后缀
        System.loadLibrary("Win32Project1");
    }
    public native static void set(int i);

    public native static int get();

    public static void main(String[] args)
    {
        set(56);
        System.out.println(get());
        //System.out.println( System.getProperty("java.library.path"));
    }
}
